﻿
namespace PulseApp
{
    public class SpecialPoint
    {
        //predefined type
        public static byte TYPE_BOTTOM = 0;
        public static byte TYPE_TOP = 1;
        public static byte TYPE_DTOP = 2;
        public static byte TYPE_HIGH = 3;
        public static byte TYPE_LOW = 4;
        public static byte TYPE_IDTOP = 5; //invisible dTop

        public static byte TYPE_WAVE0 = 6;
        public static byte TYPE_WAVE1 = 7;

        //position of the point
        private int position;
        //type of the point
        private byte type;

        //constructor
        public SpecialPoint(int aPosition, byte aType)
        {
            position = aPosition;
            type = aType;
        }

        public SpecialPoint()
        {
        }


        //settors and gettors
        public void setPosition(int position)
        {
            this.position = position;
        }

        public void setType(byte type)
        {
            this.type = type;
        }

        public int getPosition()
        {
            return this.position;
        }

        public byte getType()
        {
            return this.type;
        }
    }
}
